package com.gehj.alluitls.androidUtils;

import android.Manifest;

/**
 * File description.
 *
 * @author 杨彦韬
 * @date 2019/4/16
 */
public class PermissionConstant {
    //日历权限组。
    public static final String[] CALENDAR_PERMISSION = {Manifest.permission.WRITE_CALENDAR};
    //相机权限组，
    public static final String[] CAMERA_PERMISSION = {Manifest.permission.CAMERA};
    //联系人权限组，
    public static final String[] CONTACTS_PERMISSION = {Manifest.permission.WRITE_CONTACTS};
    //位置权限组，
    public static final String[] LOCATION_PERMISSION = {Manifest.permission_group.LOCATION, Manifest.permission.ACCESS_FINE_LOCATION};
    //电话权限组,
    public static final String[] PHONE_PERMISSION = {Manifest.permission.READ_PHONE_STATE};
    //传感器权限组。
    public static final String[] SENSORS_PERMISSION = {Manifest.permission.BODY_SENSORS};
    //短信权限组。
    public static final String[] SMS_PERMISSION = {Manifest.permission.READ_SMS};
    //存储权限组，
    public static final String[] STORAGE_PERMISSION = {Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE};
     //打电话
    public static final String[] CALL_PHONEPERMISSON = {Manifest.permission.CALL_PHONE};
    //所有的权限
    public static final String[] ALL_PERMISSION = {Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.CAMERA, Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_PHONE_STATE, Manifest.permission.READ_CONTACTS, Manifest.permission.CALL_PHONE};


}
